<!DOCTYPE html>
<html>
<head>
  <title>jBox ES6 demos</title>

  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0">

  <link rel="stylesheet" href="./css/normalize.css">
  <link rel="stylesheet" href="./css/demo.css">
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet">

  <script type="module" src="/index.js"></script>
</head>
<body>

<header>
  <nav class="container">
    <a href="https://stephanwagner.me/jBox/documentation">Documentation</a>
    <a href="https://stephanwagner.me/jBox/demos">More Demos</a>
    <a href="https://stephanwagner.me/Coding" id="stephan"><span>Stephan Wagner</span></a>
  </nav>
</header>

<main class="container">

  <h2>Tooltip</h2>

  <div class="targets-wrapper">
    <div id="Tooltip-1" class="target">Hover me</div>
    <div id="Tooltip-2" class="target">Hover me</div>
    <div id="Tooltip-3" class="target">Hover me</div>
    <div id="Tooltip-4" class="target">Hover me</div>
    <div id="Tooltip-5" class="target">Hover me</div>
    <div id="Tooltip-6" class="target">Hover me</div>
    <div id="Tooltip-7" class="target-click">Click me</div>
    <div id="Tooltip-8" class="target-click">Click me</div>
  </div>

  <h2>Modal</h2>

  <div class="targets-wrapper">
    <div id="Modal-1" class="target-click">Click me</div>
    <div id="Modal-2" class="target-click">Click me</div>
    <div id="Modal-3" class="target-click">Click me</div>
    <div class="target-click" data-confirm onclick="new jBox('Notice', {content: 'Yay! You clicked the confirm button', color: 'green', attributes: {y: 'bottom'}})">Click me</div>
  </div>

  <h2>Notice</h2>

  <div class="targets-wrapper">
    <div id="Notice-1" class="target-notice">Click me</div>
    <div id="Notice-2" class="target-notice">Click me</div>
    <div id="Notice-3" class="target-notice">Click me</div>
    <div id="Notice-4" class="target-notice">Click me</div>
  </div>

  <h2>Image</h2>

  <div class="targets-wrapper">
    <a class="demo-img" href="https://stephanwagner.me/img/jBox/demo/image1.jpg" data-jbox-image="gallery1" title="Navigate with your keyboard: Press the [right] or [left] key"><img src="https://stephanwagner.me/img/jBox/demo/image1-preview.jpg" alt=""></a>
    <a class="demo-img" href="https://stephanwagner.me/img/jBox/demo/image2.jpg" data-jbox-image="gallery1" title="jBox is smart, the next image gets preloaded"><img src="https://stephanwagner.me/img/jBox/demo/image2-preview.jpg" alt=""></a>
    <a class="demo-img" href="https://stephanwagner.me/img/jBox/demo/image3.jpg" data-jbox-image="gallery1" title="You can easily group your images into galleries"><img src="https://stephanwagner.me/img/jBox/demo/image3-preview.jpg" alt=""></a>
    <a class="demo-img" href="https://stephanwagner.me/img/jBox/demo/image4.jpg" data-jbox-image="gallery1" title="As usual, attaching jBox to images is easy as pie"><img src="https://stephanwagner.me/img/jBox/demo/image4-preview.jpg" alt=""></a>
    <a href="https://stephanwagner.me/img/jBox/demo/NOT-FOUND.jpg" data-jbox-image="gallery1" title="You can adjust this image-not-found notice with CSS"></a>
  </div>

</main>

</body>
</html>
